﻿@using SYJ.Model.Entities;
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>用户中心</title>
    <link href="~/Content/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/fly/css/global.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.11.3.min.js"></script>
    <script src="~/Content/layui/layui.js"></script>
    <script src="~/Scripts/Common.js"></script>

</head>
<body >
    <div class="header">
        <div class="main">
            <a class="logo" href="/" title="Fly">Fly社区</a>
            <div class="nav">
                <a class="nav-this" href="index.html">
                    <i class="iconfont icon-wenda"></i>问答
                </a>
                <a href="http://www.layui.com/" target="_blank">
                    <i class="iconfont icon-ui"></i>框架
                </a>
            </div>

            <div class="nav-user">
                <!-- 登入后的状态 -->

                <a class="avatar" href="~/user/userMgr/index">
@{ var user = (SysUser)Session["UserKey"];
 if (user != null && user.id > 0)
 { 
  <img src="@user.avatar">
                    <cite>@user.nickname</cite>
                    <i>0</i>
 }
 
 }
                   
                </a>
                <div class="nav">
                    <a href="~/user/userMgr/set"><i class="iconfont icon-shezhi"></i>设置</a>
                    <a href="~/admin/login/Logout"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
                </div>

            </div>
        </div>
    </div>

    @RenderBody()
    
 
    <div class="footer">
        <p><a href="http://fly.layui.com/">Fly社区</a> 2017 &copy; <a href="http://www.layui.com/">layui.com</a></p>
        <p>
            <a href="http://fly.layui.com/auth/get" target="_blank">产品授权</a>
            <a href="http://fly.layui.com/jie/8157.html" target="_blank">获取Fly社区模版</a>
            <a href="http://fly.layui.com/jie/2461.html" target="_blank">微信公众号</a>
        </p>
    </div>
 
</body>
</html>